String getLanguage(String src) {
  String result;
  switch (src) {
    case "Arabic":
      result = "ara";
      break;
    case "Bulgarian":
      result = "bul";
      break;
    case "Chinese":
      result = "chs";
      break;
    case "Croatian":
      result = "hrv";
      break;
    case "Czech":
      result = "cze";
      break;
    case "Danish":
      result = "dan";
      break;
    case "Dutch":
      result = "dut";
      break;
    case "English":
      result = "eng";
      break;
    case "Finnish":
      result = "fin";
      break;
    case "French":
      result = "fre";
      break;
    case "German":
      result = "ger";
      break;
    case "Greek":
      result = "gre";
      break;
    case "Hungarian":
      result = "hun";
      break;
    case "Korean":
      result = "kor";
      break;
    case "Italian":
      result = "ita";
      break;
    case "Japanese":
      result = "jpn";
      break;
    case "Polish":
      result = "pol";
      break;
    case "Portuguese":
      result = "por";
      break;
    case "Russian":
      result = "rus";
      break;
    case "Slovenian":
      result = "slv";
      break;
    case "Spanish":
      result = "spa";
      break;
    case "Swedish":
      result = "swe";
      break;
    case "Turkish":
      result = "tur";
      break;
    default:
      result = "eng";
  }
  return result;
}

List<String> languagesList = [
  "Arabic",
  "Bulgarian",
  "Chinese",
  "Croatian",
  "Czech",
  "Danish",
  "Dutch",
  "English",
  "Finnish",
  "French",
  "German",
  "Greek",
  "Hungarian",
  "Korean",
  "Italian",
  "Japanese",
  "Portuguese",
  "Russian",
  "Slovenian",
  "Arabic",
  "Spanish",
  "Swedish",
  "Turkish",
];
